package entity

import (
	"time"
)

//
type IslandGuildRanking struct {
	GuildID  int32  `gorm:"type:int;primary_key"`
	Name     string `gorm:"size:255"`
	Flag     int32
	Level    int32
	ServerID int32
	Date     int32 // 活动开启的日期
	Score    int64
	//RecordData []byte `gorm:"type:jsonb"`
	CreatedAt time.Time
	UpdatedAt time.Time

	f bool // 发奖励的时候的标记
}

func (i *IslandGuildRanking) SetSend() {
	i.f = true
}

func (i *IslandGuildRanking) IsSend() bool {
	return i.f
}
